-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etcdserver: Restructure storage packages to make place for schema #13198
Conversation
877da56
to
4842288
Compare
e7d93b5
to
2d472b7
Compare
@serathius @ptabor This is pretty big change. What's the context? Also, we need to document this in the CHANGELOG. |
@gyuho is renaming package considered a big change (not counting a number of lines changed)? It just an As for CHANGELOG, what kind of changes we document there? I would expect that changelog should include user facing changes, is renaming package within Context: We are introducing a versioning of storage as proposed in #13168. To properly version fields stored in bbolt we need to abstract logic that marshals field values into bytes stored in bbolt. This PR moves Even without storage version effort I think that moving all file manipulation under single package is an improvement to package structure. |
SGTM. Thank you. I find the new structure cleaner:
Than the current I also like making the enormous (2700loc):
|
Please update CHANGELOG. We should try to document any changes made to the public packages (unless we move this to LGTM thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
lgtm thanks @serathius ! |
cc @ptabor